package com.ruoyi.business.approvalflow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.approvalflow.domain.TRegisterApprovalLevelConfig;
import com.ruoyi.business.approvalflow.vo.TRegisterApprovalLevelConfigVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 审批级别配置Mapper接口
 *
 * @author Tellsea
 * @date 2025-06-22
 */
public interface TRegisterApprovalLevelConfigMapper extends BaseMapper<TRegisterApprovalLevelConfig> {

    Page<TRegisterApprovalLevelConfigVo> queryList(Page<?> page, @Param("entity") TRegisterApprovalLevelConfigVo entity);

    List<TRegisterApprovalLevelConfigVo> queryList(@Param("entity") TRegisterApprovalLevelConfigVo entity);

    TRegisterApprovalLevelConfigVo queryById(@Param("id") String levelId);

}
